package net.net23.sysdent.client.ui.widgets.model;

import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.user.client.ui.Composite;

public abstract class ContentWidget extends Composite {

	private String key;
	private ImageResource icon;

	public ContentWidget(String key, ImageResource icon) {
		setKey(key);
		setIcon(icon);
	}

	private void setKey(String key) {
		this.key = key;
	}

	public String getKey() {
		return key;
	}

	public ImageResource getIcon() {
		return this.icon;
	}

	public void setIcon(ImageResource icon) {
		this.icon = icon;
	}
}